﻿	<div id='panel_head'>
		<h2>
			<%= link_to panel.panelName, {:action => 'edit_panel', :id => panel}, :class => "plus", :title => "edit" %>
		</h2>
		<span>
			<%= link_to 'create new table',:action => 'add_table',:id => panel %>
		</span>		
		<ul id='panel_set'>
			<li>
				<%= link_to '+', :action => 'add_panel', :id => panel.user %>

			</li>
			<li>
				<%= link_to '×', {:action => 'delete_panel', :id => panel}, :class => "x", :title => "delete" %>
			</li>
			<li>
				<a href='changePanel.php'
				onclick='changePanel(1); return false;'
				title='change <%= h(panel.panelName) %>'>◁◀</a>
			</li>
			<li>
				<a href='changePanel.php'
				onclick='changePanel(1); return false;'
				title='<%= h(panel.panelName) %>'>◀</a>
			</li>
			<li>
				<a href='changePanel.php'
				onclick='changePanel(1); return false;'
				title='change panel 1'>▶</a>
			</li>
			<li>
				<a href='changePanel.php'
				onclick='changePanel(1); return false;'
				title='change panel 1'>▶▷</a>
			</li>
		</ul>
	</div><!--end of div panelHead-->
	<div id='panel_body'>
		<%= render(:partial => "table", :collection => panel.tables) %>
	</div><!--end of panelBody-->